#ifndef __RANKLAYER_H__
#define __RANKLAYER_H__

#include "SceneController.h"


using namespace cocos2d;
using namespace CocosDenshion;
using namespace cocos2d::extension;
using namespace rapidjson;

class RankLayer : public CCLayer
{
public:

	CCSize winSize;
	CCLabelTTF *lblScore;

	void doPost(CCObject* pSender);
	void onHttpRequestCompleted(CCNode *sender, void *data);

	virtual bool init();  
	void update(float dt);
    
    
    CCEditBox* edtBox;
    
    void setData(CCObject* pSender);
    void getData(CCObject* pSender);
    void clearData(CCObject* pSender);

    CREATE_FUNC(RankLayer);
};

#endif // __RANKLAYER_H__
